package com.simtop.service;

import com.github.pagehelper.PageInfo;
import com.simtop.common.ServerResponse;
import com.simtop.pojo.Sport;

public interface U3DSportService {
    ServerResponse<String> add(Sport sport);

    ServerResponse<Sport> findById(Integer id);

    ServerResponse<PageInfo<Sport>> findResult(int pageNum, int pageSize);

    ServerResponse<String> deleteById(int id);

    ServerResponse<PageInfo<Sport>> findByName(String name, int pageNum, int pageSize);

    ServerResponse<Integer> findUserAccount();

    ServerResponse<Integer> expAcct();
}
